//
//  RQCollectionViewCell.m
//  RQDropDownMenuDemo
//
//  Created by 蜂巢网络科技 on 2017/6/26.
//  Copyright © 2017年 fengchao. All rights reserved.
//

#import "RQDropCollectionViewCell.h"

#define LineColorDDDDDD [UIColor colorWithRed:221/255.0 green:221/255.0 blue:221/255.0 alpha:1]

@implementation RQDropCollectionViewCell


-(instancetype)initWithFrame:(CGRect)frame{
    
    self = [super initWithFrame:frame];
    if (self) {
        _textLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, frame.size.width, frame.size.height)];
        _textLabel.textAlignment = NSTextAlignmentCenter;
        [self addSubview:_textLabel];
        
        self.backgroundColor = [UIColor whiteColor];
        self.textLabel.font = [UIFont systemFontOfSize:14.0];
        
        self.layer.cornerRadius = 4;
        self.layer.borderColor = LineColorDDDDDD.CGColor;
        self.layer.borderWidth = 0.5f;
        self.clipsToBounds = YES;

    }
    return self;
}



@end
